home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / FAN11.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.8 KB  |  135 lines

  1. name Fanuc 11M
  2.  
  3. % 00
  4. / 00
  5. O >4
  6. N >4
  7. G >2
  8. X ->3.>4
  9. Y ->3.>4
  10. Z ->3.>4
  11. A ->3.>4
  12. I ->3.>4
  13. J ->3.>4
  14. K ->3.>4
  15. Q ->3.>4
  16. R ->3.>4
  17. P >40
  18. F >3.1
  19. H >2
  20. D >2
  21. T >2
  22. M >2
  23. S >4
  24.  
  25.  
  26. ModalLetters X Y Z F R                # List of letters that are modal    
  27.  
  28. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  29.  
  30. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  31. First#? N                             # Y or N  'Output 1st sequence no.  
  32. Last#? N                              # Y or N  'Output last sequence no. 
  33.  
  34. HCode X                               # X or X U  'Horizontal char.       
  35. VCode Y                               # Y or Y V  'Vertical char.         
  36. Dcode Z                               # Depth char.                       
  37. FeedCode F                            # Feed rate char.                   
  38.  
  39. Comment ( )                           # Begin End comment char.           
  40.  
  41. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  42. Coolant 8 9 7                         # On, Off & Mist m codes            
  43. DComp 41 42 40                        # Left, Right & Cancel m codes      
  44. LComp 43 49                           # On & Off codes                    
  45.  
  46. Feed G1                             # Linear move                       
  47. Rapid G0                            # Rapid positioning word            
  48. Cw G2                               # Circular move clockwise           
  49. Ccw G3                              # Circular move counter clockwise   
  50.  
  51. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  52.  
  53. CtrCode I J                           # I J or R or I J K L               
  54. Helical? Y
  55.  
  56. Spaces? N                             # Y or N  'Spaces between words     
  57. Incremental? N                        # Y or N  'Inc or abs output        
  58. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  59. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  60.  
  61. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  62.  
  63. Drill                                 # Drilling canned/manual cycle      
  64. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  65. end cancel
  66.  
  67. Peck                                  # Pecking canned/manual cycle       
  68. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  69. end cancel
  70.  
  71. Tap                                   # Tapping canned/manual cycle       
  72. G84 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  73. end cancel
  74.  
  75. LTap                                  # Left handed tapping cycle         
  76. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  77. end cancel
  78.  
  79. Ream                                  # Reaming canned/manual cycle       
  80. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  81. end cancel
  82.  
  83. Bore                                  # Boring canned/manual cycle        
  84. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  85. end cancel
  86.  
  87. Back                                  # Back boring canned/manual cycle   
  88. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  89. end cancel
  90.  
  91. Cancel                                # Cancel a canned/manual cycle      
  92. G80
  93. end
  94.  
  95. StartCode                             # Start of the program              
  96. %0
  97. O[Program#]
  98. G90 G80 G40 G17
  99. End
  100.  
  101. 1stToolChange                         # First tool change                 
  102. T[Tool] M6
  103. M[Direct] S[Speed]
  104. G0 G[Work] X[H] Y[V]
  105. G43 Z[D] H[Lcomp]
  106. M[Cool]
  107. End
  108.  
  109. Infeed                                # Enable cutter comp                
  110. G[Side] X[H] Y[V] D[DComp] F[FRate]
  111. end
  112.  
  113.  
  114. Outfeed                               # Disable cutter comp               
  115. G1 G40 X[H] Y[V]
  116. end
  117.  
  118. ToolChange                            # Secondary tool changes            
  119. N[Block] T[Tool] M6
  120. M[Direct] S[Speed]
  121. G0 X[H] Y[V]
  122. G43 Z[D] H[Lcomp]
  123. M[Cool]
  124. End
  125.  
  126. EndCode                               # End of the program                
  127. G90 G0 G49 Z0
  128. M6 T[Tool1]
  129. X0 Y0
  130. M2
  131. %0
  132. End
  133.  
  134.  
  135.